package com.hmdp.common.enums;

import lombok.Data;
import lombok.Getter;

@Getter
public enum WebError {
    PAGE_DOES_NOT_EXIST(401, "未授权");
    private Integer error;
    private String desc;

    WebError(Integer error, String desc) {
        this.error = error;
        this.desc = desc;
    }
}
